package cn.snowheart.command.command;

import cn.snowheart.command.inter.Fan;

/**
 * 打开风扇命令
 *
 * @author liuwanxiang
 * @version 2019/07/04
 */
public class FanStartCommand implements Command {

    private Fan fan;

    public FanStartCommand(Fan fan) {
        this.fan = fan;
    }

    @Override
    public void execute() {
        fan.start();
    }
}
